/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Manager_Image_Utils;

import java.util.ArrayList;
import manage_image.Abum;
import javax.swing.DefaultListModel;
import javax.swing.JLabel;

/**
 *
 * @author Admin
 */
public class Abums extends DefaultListModel{
    Constants c=new Constants();
    ArrayList<Abum> AbumList=new ArrayList<Abum>();
    @Override
    public void add(int index, Object element) {
        AbumList.add((Abum)element);
        addElement(AbumList.get(index));
    }

    public ArrayList<Abum> getAbumList() {
        return AbumList;
    }

    public void setAbumList(ArrayList<Abum> AbumList) {
        this.AbumList = AbumList;
    }
    
    public Abums() {
        AbumList.clear();
    }
    
}
